package com.dhcc.sds.base.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.dhcc.core.framework.base.entity.TreeEntity;

/**
 * 单病种指标配置
 *
 * @ClassName: SdsIndexHeaderEntity
 * @Description: TODO
 * @author zhangdc
 * @date 2021-09-03 10:10:52
 */
@TableName("t_sds_ct_index_header")
public class SdsIndexHeaderEntity extends TreeEntity<SdsIndexHeaderEntity> {
    private static final long serialVersionUID = 1L;

    //病种字典
    private Long entityId;
    //父指标ID
    /*private Long parentId;*/
    //指标类型（1：父指标；2：子指标）
    private Integer headerType;
    //指标名称
    private String title;
    //统计类型（1：合计指标；2：明细指标）
    private Integer indexType;
    //指标计算名称
    @TableField(exist=false)
    private String fieldNum;
    //占列数
    @TableField(exist=false)
    private Integer colspan;
    //指标字段
    private String field;
    //是否有子指标
    private Integer haveSecondaryHeader;
    //排序
    private Integer sort;
    //有效标志
    private Integer btIsActive;
    //表达式
    private String express;
    //分母表达式
    private String expressDen;
    //备注
    private String btResume;
    //统计状态
    private Integer analysisStatus;
    //是否重点指标
    private Integer isImportant;

    public Long getEntityId() {
        return entityId;
    }

    public void setEntityId(Long entityId) {
        this.entityId = entityId;
    }

    /*public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }*/

    public Integer getHeaderType() {
        return headerType;
    }

    public void setHeaderType(Integer headerType) {
        this.headerType = headerType;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getIndexType() {
        return indexType;
    }

    public void setIndexType(Integer indexType) {
        this.indexType = indexType;
    }

    public Integer getColspan() {
        return colspan;
    }

    public void setColspan(Integer colspan) {
        this.colspan = colspan;
    }

    public String getField() {
        return field;
    }

    public void setField(String field) {
        this.field = field;
    }

    public Integer getHaveSecondaryHeader() {
        return haveSecondaryHeader;
    }

    public void setHaveSecondaryHeader(Integer haveSecondaryHeader) {
        this.haveSecondaryHeader = haveSecondaryHeader;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getBtIsActive() {
        return btIsActive;
    }

    public void setBtIsActive(Integer btIsActive) {
        this.btIsActive = btIsActive;
    }

    public String getExpress() {
        return express;
    }

    public void setExpress(String express) {
        this.express = express;
    }

    public String getFieldNum() {
        return fieldNum;
    }

    public void setFieldNum(String fieldNum) {
        this.fieldNum = fieldNum;
    }

    public String getBtResume() {
        return btResume;
    }

    public void setBtResume(String btResume) {
        this.btResume = btResume;
    }

    public Integer getAnalysisStatus() {
        return analysisStatus;
    }

    public void setAnalysisStatus(Integer analysisStatus) {
        this.analysisStatus = analysisStatus;
    }

    public String getExpressDen() {
        return expressDen;
    }

    public void setExpressDen(String expressDen) {
        this.expressDen = expressDen;
    }

    public Integer getIsImportant() {
        return isImportant;
    }

    public void setIsImportant(Integer isImportant) {
        this.isImportant = isImportant;
    }
}
